bitkeeper revision 1.1159.258.90 (425a82f9SNVZLPiwpO07IDSTr_VE7g)
authorccoffing@novell.com[iap10] <ccoffing@novell.com[iap10]>
Mon, 11 Apr 2005 14:00:25 +0000 (14:00 +0000)
committerccoffing@novell.com[iap10] <ccoffing@novell.com[iap10]>
Mon, 11 Apr 2005 14:00:25 +0000 (14:00 +0000)
commite4c215974fb6a4d362f3450e78bd5406de441f67
treeb036b6b21453ea011277c6fb733d0b0cc73af73e
parentfbe22bd546a8adad1d1bcbb49ab69ed6a3fda95b
bitkeeper revision 1.1159.258.90 (425a82f9SNVZLPiwpO07IDSTr_VE7g)

[PATCH]  stream fixes for migration

I've attached a patch for libxutil/libxc.  This fixes one of the hangs =
I've seen during migrations.  It applies against 2.0 and 2.0-testing.

Changes:
 * Encountering EOF or error when xfrd reads from stream could cause an =
infinite loop.
 * Cleaned up the closing of streams.
 * Fixed several memory leaks.

Signed-off-by: Charles Coffing <ccoffing@novell.com>
BitKeeper/etc/logging_ok
tools/libxc/xc_io.h
tools/libxc/xc_linux_save.c
tools/libxutil/file_stream.c
tools/libxutil/gzip_stream.c
tools/libxutil/iostream.h